//
//  Bundle+Extensions.swift
//  Weibo_SwiftDemo
//
//  Created by gjh on 2020/12/21.
//

import Foundation

extension Bundle {
    // 计算型属性类似于函数,没有参数,有返回值
    var namespace: String {
        return infoDictionary?["CFBundleName"] as? String ?? ""
    }
    
}
